//
//  SINAPickCityView.h
//  sinashebao
//
//  Created by  androidlongs on 2017/12/22.
//  Copyright © 2017年  androidlongs. All rights reserved.
//

#import "SINABasePickView.h"

@class SINAPickCityView;

@protocol  PickerCityViewDelegate<NSObject,BasePickViewDelegate>

- (void)pickerArea:(SINAPickCityView *)pickerArea selectProvince:(NSString *)province selectCity:(NSString *)city;

@end

@interface SINAPickCityView : SINABasePickView
@property(nonatomic, weak)id <PickerCityViewDelegate>delegate ;

/**设置默认的省市*/

-(void)setDefaultCity:(NSString *)defaultCity  DefaultProvience:(NSString *)defaultProvience;

/** 使用方法
 SINAPickCityView *pickerArea = [[SINAPickCityView alloc]init];
 
 [pickerArea setDelegate:self];
 
 [pickerArea setDefaultCity:@"上海" DefaultProvience:@"上海"];
 
 [pickerArea show];
 [self.view endEditing:YES];
 
 */

@end
